package com.emex.app.shared.data;

import java.util.Date;

public class Repayment {
    private Integer id;

    private Integer supplierId;

    private Date date;

    private String fio;

    private Double summDown;

    private String positionName;

    private Double summa;

    public Repayment(Integer id, Integer supplierId, Date date, String fio, Double summDown, String positionName, Double summa) {
        this.id = id;
        this.supplierId = supplierId;
        this.date = date;
        this.fio = fio;
        this.summDown = summDown;
        this.positionName = positionName;
        this.summa = summa;
    }

    public Repayment() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getFio() {
        return fio;
    }

    public void setFio(String fio) {
        this.fio = fio == null ? null : fio.trim();
    }

    public Double getSummDown() {
        return summDown;
    }

    public void setSummDown(Double summDown) {
        this.summDown = summDown;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName == null ? null : positionName.trim();
    }

    public Double getSumma() {
        return summa;
    }

    public void setSumma(Double summa) {
        this.summa = summa;
    }
}